import request from '@/utils/request'

// 查询今日告警统计数据
export function getTodayAlarm() {
  return request({
    url: '/surveillance/display/alartNum/today',
    method: 'get',
  })
}

// 查询总告警统计数据
export function getTotalAlarm(query) {
  return request({
    url: '/surveillance/display/alartNum',
    method: 'get',
    params: query
  })
}